<?php
/**
 * A simple description for this script
 *
 * PHP Version 5.2.0 or Upper version
 *
 * @package    Iris
 * @author     Hidehito NOZAWA aka Suin <http://suin.asia>
 * @copyright  2010 Hidehito NOZAWA
 * @license    http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2
 *
 */

class Iris_Model_ThemeHandler extends Iris_Abstract_ModelHandler
{
	protected $object  = 'Iris_Model_Theme';
	protected $table   = 'theme';
	protected $primary = 'id';

	protected function _insert(&$obj)
	{
		$obj->setVar('create', myecom_time());
		$obj->setVar('modify', myecom_time());
		parent::_insert($obj);
	}

	protected function _update(&$obj)
	{
		$obj->setVar('modify', myecom_time());
		parent::_update($obj);
	}
}

?>
